<?php
namespace common\components;

use yii\base\Theme;

/**
 *  
 * @author kai.gao
 */
class Theme2015 extends Theme {
    public function init() {
        if (rand(0,1) == 0) {
            $this->pathMap = [
                '@app/views' => [
                    '@app/themes/pc2015'
                ],
            ];
        } else {
            $this->pathMap = [
                '@app/views' => [
                   '@app/themes/pc2015'
                ],
            ];
        }
    }
}